import router from '@ohos.router';
import promptAction from '@ohos.promptAction'

export default {
    data: {
        title: ""
    },
    buttonClick() {
        console.log('btn click',router)
        promptAction.showToast({
            message: 'Message Info',
            duration: 4000,
        })
        router.push({
            url: 'pages/login/login',
            params: {
                data1: 'message',
                data2: {
                    data3: [123, 456, 789]
                }
            }
        })
    },
    onInit() {
        this.title = this.$t('strings.world');
    }
}



